package com.qeegoo.b2bautozityp.injector.module;

import com.qeegoo.b2bautozityp.api.RequestApi;
import com.qeegoo.b2bautozityp.injector.PerActivity;
import com.qeegoo.b2bautozityp.moudle.login.viewmodel.PhoneValidateViewModel;

import dagger.Module;
import dagger.Provides;

/**
 * Created by lining on 2017/9/15.
 */
@Module
public class PhoneValidateModule {

    @Provides
    @PerActivity
    public PhoneValidateViewModel provideViewModel(RequestApi api){
        return new PhoneValidateViewModel(api);
    }
}
